<?php
defined('IN_PHPCMS') or exit('Access Denied');

define('MOD_ROOT', PHPCMS_ROOT.$M['path']);
require_once MOD_ROOT.'/include/simpleGuestBook.class.php';

$sgb = new simpleGuestBook();

$page = (intval($_GET['page']) == 0) ? 1 : intval($_GET['page']);

$voList = $sgb->listinfo('','',$page);

include admin_tpl("list");
?>